package com.iad.model.valueobject {
  
  import flash.events.EventDispatcher;
  
  [Bindable]
  [RemoteClass(alias="com.iad.entity.Review")]
  public class Review extends EventDispatcher {
  
    public var id:Number;
    public var title:String;
    public var content:String;
    public var author:String;
    public var siteId:Number;
    public var siteName:String;
    public var approved:Boolean;
    
    
    public function Review() {
    }
    
    public override function toString():String {
      var str:String;
      str = 
      "Review(" + "\n" + 
      "\tid= " +  id+ "\n" + 
      "\ttitle= " +  title + "\n" + 
      "\tcontent= " +  content + "\n" + 
      "\tauthor = " + author + "\n" + 
      "\tsiteId = " + siteId + "\n" + 
      "\tsiteId = " + siteName + "\n" + 
      "\tapproved = " + approved + "\n" + 
      ")\n\n";  
      return str;
    }
  
  }
  
}